import React from 'react';
import {View, Text, Button} from 'react-native';

const Setting = ({navigation}) => {
  const onTurnTo = () => {
    navigation.navigate('Address');
  };
  return (
    <View>
      <Text>Setting</Text>
      <Button title="跳转adress" onPress={onTurnTo} />
    </View>
  );
};

export default Setting;
